import request from '@/utils/request'

export function revokeTask(data) {
  return request({
    url: 'api/processTask/revokeTask',
    method: 'post',
    data
  })
}

export function completeTask(data) {
  return request({
    url: 'api/processTask/completeTask',
    method: 'post',
    data
  })
}

export function returnTask(data) {
  return request({
    url: 'api/processTask/returnTask',
    method: 'post',
    data
  })
}
